package com.example.expresscabinet.model;



import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.sql.Timestamp;
import java.util.Date;

@TableName("sendexpress")
@Data
public class sendexpress extends Model<sendexpress>{

    @TableId(value = "code")
    private String code;

    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Timestamp thetime;

    private String tel;
    private String expresstel;
    private int num;
    private int cost;
    private String fromwhere;
    private String towhere;
    private String states;

}
